package com.shy.service.impl;

import com.shy.service.IShapeService;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Service;

@Service
@Order(3)
public class RectangleService implements IShapeService {

    @Override
    public Float getArea(Float width, Float height) {
        return width * height;
    }
}
